package com.gy.yemall.yemallmember.feign;

import com.gy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

// 代表调用nacos中的yemall-coupon中的方法
@Component
@FeignClient("yemall-coupon")
public interface CouponFeignSerivce {
    // 注意路径要写全
    @RequestMapping("/yemallcoupon/coupon/member/list")
    public R membercoupons();
}
